package com.gupaoedu.pattern.decoratorandobserver.demo.observer;

import com.google.common.eventbus.EventBus;

public class EventBusHolder {



    private static EventBus eventBus = new EventBus();

    public void register(Object o) {
        eventBus.register(o);
    }

    public void unRegister(Object o) {
        eventBus.unregister(o);
    }

    public void post(Object o) {
        eventBus.post(o);
    }

}
